<template>
  <div class="workflow-container">
    <div class="workflow-header">
      <h3>工作流</h3>
      <p class="description">已经动保存在 01-04 22:45:05 有同步发布的修改</p>
    </div>

    <iframe
      :src="workflowUrl"
      class="workflow-iframe"
      frameborder="0"
      allowfullscreen
    ></iframe>
  </div>
</template>

<script>
export default {
  name: 'WorkflowView',
  setup() {
    const workflowUrl = 'https://www.coze.cn/work_flow?space_id=7444817518990540851&workflow_id=7455613455479865370'
    
    return {
      workflowUrl
    }
  }
}
</script>

<style scoped>
.workflow-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.workflow-header {
  padding: 16px 24px;
  background-color: #fff;
  border-bottom: 1px solid #e6e6e6;
}

.workflow-header h2 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.description {
  margin: 8px 0 0;
  font-size: 14px;
  color: #666;
}

.workflow-iframe {
  width: 100%;
  height: calc(100vh - 100px);
  border: none;
}
</style> 